<template>
  <div id="app">
    <!-- <Zling></Zling> -->
    <!-- <Vmodel></Vmodel> -->
    <!-- <xiushi></xiushi> -->
    <!-- <Mydirective></Mydirective> -->
    <!-- <Mycomputed></Mycomputed> -->
    <!-- <watchview></watchview> -->
    <!-- <watchandcomputed></watchandcomputed> -->
    <!-- <Life></Life> -->
    <!-- <vue2nogood></vue2nogood> -->
    <!-- <filtercom></filtercom> -->
    <!-- <vueuse></vueuse> -->
    <!-- <Father1></Father1> -->
    <!-- <Father2></Father2> -->
    <!-- <Father3></Father3> -->
    <!-- <Father4></Father4> -->
    <Father5></Father5>
    <!-- 使用footer -->
    <Footer v-if="isshow"></Footer>
  </div>
</template>

<script>
// import axios from "axios";
// import Zling from "@/views/Zling";
// import Vmodel from "@/views/Vmodel.vue";
// import xiushi from "@/views/xiushi.vue";
// import Mydirective from "@/views/mydirective.vue";
// import Mycomputed from "@/views/mycomputed.vue";
// import watchview from "@/views/watchview";
// import watchandcomputed from "@/views/watchandcomputed";
// import Life from "@/views/life/Life";
// import vue2nogood from "@/views/vue2-no-good/vue2nogood";
// import filtercom from "@/views/filter/filter";
// import vueuse from "@/views/vueuse/vueuse";
// import Father from "@/views/compont-tongxin/fathertochild/Father";
// import Father1 from "@/views/compont-tongxin/brothertobrother/Father";
// import Father2 from "@/views/compont-tongxin/kuaji/Father";
// import Father3 from "@/views/dongtaizujian/Father";
// import Father4 from "@/views/chacao/Father";
import Father5 from "@/views/router-view/Father";
import Footer from "@/components/Footer";
const app = {
  name: "App",
  data() {
    return {
      abc: 456,
      isshow: false
    };
  },
  components: {
    //   Zling,
    //   Vmodel,
    //   xiushi,
    //   Mydirective,
    //   Mycomputed,
    //   watchview,
    //   watchandcomputed,
    //   Life,
    //   vue2nogood,
    //   filtercom,
    //   vueuse,
    //   Father,
    //   Father1,
    //   Father2,
    //   Father3,
    //   Father4,
    Father5,
    Footer
  },
  mounted() {
    //  axios.get('/api/index/index').then (res=>{
    //   //  console.log(res)
    //  })
    // console.log(this);
  },
  watch: {
    $route(newvalue) {
      // console.log(newvalue);
      this.isshow = newvalue.meta.ishshowtabbar;
    }
  }
};

export default app;
</script>

<style>
</style>
